package com.blacktech.dbu.meta.dto;

import com.blacktech.dbu.core.dict.ColumnType;
import lombok.Data;

/**
 * 更新字段库请求DTO
 *
 * @author Yanyunsong
 */
@Data
public class UpdateFieldLibraryRequest {

    private String fieldNameCn;

    private String fieldNameEn;

    private ColumnType fieldType;

    private Integer fieldLength;

    private Integer fieldScale;

    private Boolean isRequired;

    private Boolean isPrimaryKey;

    private Boolean isUnique;

    private String defaultValue;

    private String fieldComment;

    private Boolean isEnabled;
}